package com.originalpoint.origin_server.pojo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *商户实体类
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Schema(name = "Merchat" ,description = "商家信息表")
public class Merchat {
    @Schema(name = "merId" ,description = "商家ID")
    private Integer merId;

    @Schema(name = "merName" ,description = "商家名字")
    private String merName;

    @Schema(name = "merPassword" ,description = "商家密码")
    private String merPassword;

    @Schema(name = "merImg" ,description = "商家图片")
    private String merImg;

    @Schema(name = "m_addressId" ,description = "商家表关联的地址表的ID")
    private Integer m_addressId;

    @Schema(name = "merAuthority" ,description = "商家权限")
    private Integer merAuthority;

    @Schema(name = "region" ,description = "区")
    private String region;

    @Schema(name = "street" ,description = "街道")
    private String street;

    @Schema(name = "detailAddress" ,description = "详细地址")
    private String detailAddress;
}
